#ifndef KEYHLPANEL_H
#define KEYHLPANEL_H

//#ifndef WX_PRECOMP
	//(*HeadersPCH(KeyHLPanel)
	#include <wx/sizer.h>
	#include <wx/stattext.h>
	#include <wx/textctrl.h>
	#include <wx/colordlg.h>
	#include <wx/panel.h>
	#include <wx/button.h>
	//*)
//#endif
//(*Headers(KeyHLPanel)
//*)
//using namespace std;
class KeyHLPanel: public wxPanel
{
	public:
        void SetTextColour(wxColour);
        void SetTextBgColour(wxColour);
        void SetRoleName(wxString);
        wxString GetRoleName();
        wxColour GetTextColour();
        wxColour GetTextBgColour();
        int GetId();
		KeyHLPanel(wxWindow* parent,
             wxString name=_(""),
             wxColour textC=*wxBLACK,wxColour textBgC=*wxWHITE,
             wxWindowID id=wxID_ANY,
             const wxPoint& pos=wxDefaultPosition,
             const wxSize& size=wxDefaultSize);
		virtual ~KeyHLPanel();
    private:
		//(*Declarations(KeyHLPanel)
		wxButton* BnClose;
		wxColourDialog* TextColourDlg;
		wxStaticText* StaticText2;
		wxColourDialog* TextBgColourDlg;
		wxTextCtrl* RoleName;
		wxStaticText* StaticText1;
		wxStaticText* StaticText3;
		wxButton* BnTextColor;
		wxStaticText* SampleText;
		wxButton* BnTextBgColour;
		//*)

	protected:

		//(*Identifiers(KeyHLPanel)
		static const long ID_STATICTEXT2;
		static const long ID_TEXTCTRL1;
		static const long ID_STATICTEXT1;
		static const long ID_BUTTON3;
		static const long ID_STATICTEXT3;
		static const long ID_BUTTON1;
		static const long ID_STATICTEXT4;
		static const long ID_BUTTON2;
		//*)

	private:
		//(*Handlers(KeyHLPanel)
		void OnPaint(wxPaintEvent& event);
		void OnTextCtrl1Text(wxCommandEvent& event);
		void OnButton2Click(wxCommandEvent& event);
		void OnBnTextColorClick(wxCommandEvent& event);
		void OnBnTextBgColourClick(wxCommandEvent& event);
		//*)

		DECLARE_EVENT_TABLE()
};

#endif
